<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>

    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>

</head>
<body>
{{$zhead}}

<div id="container">
	
{{$zmenu}}

    <article>
    	<h2><span>&nbsp;</span>会員管理<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        	<ul>
					<li class="active"><a href="{{'Home/user/index'|U}}"><span>会員検索</span></a></li>
				  <li><a href="{{'Home/user/insert'|U}}"><span>会員登録</span></a></li>
			</ul>
        </nav>
		<section id="content">
			<h3>会員参照</h3>

			<ul class="btns b20" style="position:relative;top:10px;">
				<li class="btn left c"><a href="{{'Home/user/refer'|U}}?id={{$forms.id}}" class="active">情報参照</a></li>
				<li class="btn center c"><a href="{{'Home/user/update'|U}}?id={{$forms.id}}">情報更新</a></li>
				<li class="btn center c"><a href="{{'Home/delivery/refer'|U}}?id={{$forms.id}}">配送先情報</a></li>
				<li class="btn center c"><a href="{{'Home/order/userGoods'|U}}?id={{$forms.id}}">注文情報</a></li>
				<li class="btn center c"><a href="{{'Home/email/emailRecord'|U}}?id={{$forms.id}}">メール履歴</a></li>
			</ul>

			<form name="fm" action="{{'Home/user/update'|U}}" method="get" enctype="multipart/form-data">
				<h4><span>&nbsp;</span>基本情報</h4>
				<table class="formTable">
					<tbody>
						<tr><input type="hidden" name='id' value='{{$forms.id}}'>
							<th>登録日時</th>
							<td>{{$forms.c_time}}</td>
							<th>システムID</th>
							<td>{{$forms.id}}</td>
						</tr>
						<tr>
							<th>更新日時</th>
							<td>{{$forms.u_time}}</td>
							<th>状態</th>
							{{if $forms.state=='1'}}<td>通常</td>{{/if}}
							{{if $forms.state=='2'}}<td>仮登録</td>{{/if}}
							{{if $forms.state=='3'}}<td>退会</td>{{/if}}
						</tr>
						<tr>
							<th>会員氏名</th>
							<td>{{$forms.user_name1}} {{$forms.user_name2}}</td>
							<th>貴医院名・貴技工所名</th>
							<td>{{$forms.workshop_name}}</td>
						</tr>
						<tr>
							<th>お客様ID</th>
							<td>{{$forms.login_id}}</td>
							<th></th>
							<td></td>
						</tr>
						<tr>
							<th>E-Mail</th>
							<td><a href="mailto:{{$forms.email}}">{{$forms.email}}</a></td>
								
							<th>メルマガ購読（PC）</th>
							{{if $forms.state=='1'}}<td>メルマガ購読（PC）</td>{{/if}}
						</tr>
						<tr>
							<th>電話番号</th>
							<td>{{$forms.tel_number}}</td>
							<th>携帯電話番号</th>
							<td>{{$forms.mobile_number}}</td>
						</tr>
						<tr>
								<th>生年月</th>
							<td>{{$forms.birthday_year}}年{{$forms.birthday_m}}月</td>
							<th>性別</th>
							<td>
							  {{if $forms.sex==1}}女性{{/if}}
							  {{if $forms.sex==2}}男性{{/if}}
							  {{if $forms.sex==3}}指定なし{{/if}}
							</td>
						</tr>
						<tr>
							<th>住所</th>
							<td colspan="3">{{$forms.address}}</td>
						</tr>
						<tr>
							<th>退会理由</th>
							<td colspan="3">{{$forms.retreat_account}}</td>
						</tr>
						<tr>
							<th>社内メモ</th>
							<td colspan="3"></td>
						</tr>
					</tbody>
				</table>

				<p class="button">
					<button type="button" id="btn_update" class="submit"><span>更新</span></button>
				</p>
			</form>
		</section>
	</article>
</div>
{{$zfooter}}
</body>
</html>